package com.bosssoft.entity.po;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Delete;

/**
 * @author Li kexi
 * Created on 2021/8/19.9:12
 */
/**
 * 培训费预算表
 */
@ApiModel(value="com-bosssoft-entity-po-FibTrainBudgetPO")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "fib_train_budget")
public class FibTrainBudgetPO implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="id")
    private Long id;

    /**
     * 单位编码
     */
    @TableField(value = "dept_id")
    @ApiModelProperty(value="单位编码")
    private Long deptId;

    /**
     * 单位名称
     */
    @TableField(value = "dept_name")
    @ApiModelProperty(value="单位名称")
    private String deptName;

    /**
     * 金额
     */
    @TableField(value = "amount")
    @ApiModelProperty(value="金额")
    private BigDecimal amount;

    /**
     * 培训地点
     */
    @TableField(value = "place")
    @ApiModelProperty(value="培训地点")
    private String place;

    /**
     * 培训负责人
     */
    @TableField(value = "head")
    @ApiModelProperty(value="培训负责人")
    private String head;

    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value="更新时间")
    private Date updateTime;

    /**
     * 创建人
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value="创建人")
    private String createBy;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value="更新人")
    private String updateBy;

    /**
     * 逻辑删除
     */
    @TableLogic
    @TableField(value = "deleted")
    @ApiModelProperty(value="逻辑删除")
    private Byte deleted;

    /**
     * 版本号
     */
    @Version
    @TableField(value = "version")
    @ApiModelProperty(value="版本号")
    private Integer version;

    private static final long serialVersionUID = 1L;
}